STEP 9: Let's now see what our sale price will be.

  • Click on . Drag a Variable Display into your program.
  • Change the display's variable name from my_display to sale_display.
  • Change the variable argument in the new .Display() command from my_var to sale_price.
  • Change the x-coordinate argument in .Display() from -200 to 50.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)